ADD_LIBRARY(
        EyerWASMHttp STATIC

        EyerWASMHttp.hpp
        EyerWASMHttp.cpp

        EyerWASMEventXMLHttpRequest.hpp
        EyerWASMEventXMLHttpRequest.cpp

        EyerWASMHttpFetch_FetchEvent.cpp
        EyerWASMHttpFetch_FetchEvent.hpp

        EyerWASMHttpFetch_AbortEvent.cpp
        EyerWASMHttpFetch_AbortEvent.hpp
)

SET(head_files
        EyerWASMHttp.hpp
        EyerWASMHttpHeader.hpp
        EyerWASMEventXMLHttpRequest.hpp
        EyerWASMHttpFetch_FetchEvent.hpp
        )

INSTALL(FILES ${head_files} DESTINATION include/EyerWASMHttp)
INSTALL(
        TARGETS EyerWASMHttp
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
)
